package com.epic;

import com.epic.eventmgr.service.Student;
import com.epic.eventmgr.service.Zoo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
    public static void main(String[] args) {

        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("ApplicationContext.xml");
        Zoo zoo = (Zoo)applicationContext.getBean("zoo");
        System.out.println(zoo.getStudent().getName());
    }

}
